package simulaco.business;

import gminet.infra.business.BusinessException;
import gminet.infra.business.BusinessObject;

import java.util.List;

import simulaco.dto.ConcursoNivel;


/**
 * @author Gabriel Flores Mendes
 * 
 * 
 */
public class ConcursoNivelBusiness extends BusinessObject {

    public static ConcursoNivel findByPK(int nivelId) throws BusinessException {

        return ConcursoNivel.getNivelById(nivelId);
    }

    public static List<ConcursoNivel> findAll() {

        return ConcursoNivel.getList();
    }

}
